package com.steakliu.sun.disuse.api;

import com.steakliu.sun.constant.ConnectionsDisuseStrategyConstant;
import com.steakliu.sun.spi.annotation.SPI;

import java.util.List;

/**
 * 功能说明： 连接淘汰策略
 * <p>
 * Original @Author: steakliu-刘牌, 2023-02-05  19:48
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@SPI(ConnectionsDisuseStrategyConstant.DEFAULT)
public interface DisuseStrategy {

    ConnectionsInfo selectConnection(List<ConnectionsInfo> connectionsInfoList);

}
